package com.cg.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.sql.Blob;
import java.time.LocalDateTime;
import java.util.Map;

/**
 * <p>
 * 
 * </p>
 *
 * @author 加
 * @since 2025-01-17
 */
@Data
public class AddQuestionDTO {


    @NotBlank
    @Size(max = 30,message = "最多不超过10个字符")
    private String questionName;


    @NotBlank
    @Size(max = 30,message = "最多不超过50个字符")
    private String content;

    private String picture;

    @NotBlank
    private String rAnswer;

    @NotBlank
    private String answers;




}
